package com.input.example;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;

public class InputReaderTest {

	public static void main(String[] args) throws IOException {

		File file = new File("C:/javabatch/inputTezt2.txt");

		FileReader fileReader = new FileReader(file);
		BufferedReader bufferedReader = new BufferedReader(fileReader);

		String line = bufferedReader.readLine();

		while (line != null) {
			System.out.println(line);
			line = bufferedReader.readLine();
		}
		
		
		bufferedReader.close();
		fileReader.close();
		
		
	}

}
